#主动技能【穿心魔牙】

#无印记
execute rotated ~ 0 positioned ^ ^ ^5 run scoreboard players set @p[gamemode=!spectator,distance=0.1..4.9,gamemode=!spectator] EFLock 20
execute rotated ~ 0 positioned ^ ^ ^5 run effect give @p[gamemode=!spectator,distance=0.1..4.9,gamemode=!spectator] wither 4 2
effect give @s instant_damage 1 0
#有印记
execute rotated ~ 0 positioned ^ ^ ^5 at @p[scores={mieshang5=1..},distance=0.1..4.9,gamemode=!spectator] run summon minecraft:evoker_fangs ~ ~ ~ {Warmup:10}
execute rotated ~ 0 positioned ^ ^ ^5 if entity @p[distance=0.1..4.9,gamemode=!spectator,scores={mieshang5=1..}] run effect give @s wither 3 1
execute rotated ~ 0 positioned ^ ^ ^5 run scoreboard players set @a[scores={mieshang5=1..},distance=0.1..4.9,gamemode=!spectator] mieshang5 0


tellraw @a [{"selector":"@s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"：释放技能","color":"blue","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"【穿心魔牙】","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"—灭殇","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]

scoreboard players set @s skCDEgg 16
scoreboard players set @s skEgg 0